//
//  TSCMyObserverGCSelectorWH.m
//  Tsc_IOS
//
//  Created by Rio on 15-6-26.
//  Copyright (c) 2015年 idream. All rights reserved.
//

//#import "TSCMyObserverGCSelectorWH.h"
//#import "TSCMyGCSelector.h"
//
//@implementation DEL_TSCMyObserverGCSelectorWH {
//    TSCMyGCSelector * _gc;
//}
//
//#pragma mark 初始化方法
//- (id) initWithGCSelector:(TSCMyGCSelector *)gcSelector {
//    self = [super init];
//    if (self) {
//        _gc = gcSelector;
//        
//        // 设置监听者
//        [_gc addObserver:self forKeyPath:@"frame" options:NSKeyValueObservingOptionNew context:nil];
//        [_gc addObserver:self forKeyPath:@"bounds" options:NSKeyValueObservingOptionNew context:nil];
//    }
//    return self;
//}
//
//#pragma mark 公共方法
//- (void) removeObserver {
//    [_gc removeObserver:self forKeyPath:@"frame"];
//    [_gc removeObserver:self forKeyPath:@"bounds"];
//}
//
//#pragma mark 声明周期方法
//- (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
//    if ([keyPath isEqualToString:@"frame"] || [keyPath isEqualToString:@"bounds"]) {
//        [_gc refreshUI];
//    }
//}



//@end
